<template>
	<view class="topback flex-row-between width">
		<u-icon name='arrow-left' size='46' @click="jump"></u-icon>
		<view class="font font18">{{ title }}</view>
		<view></view>
	</view>
</template>

<script>
	export default {
		props:['title'],
		methods:{
			jump(){
				// 返回上一页
				uni.navigateBack({
				    delta: 1 // 默认值是1，表示返回的页面层数
				});
			}
		}
	}
</script>

<style scoped>
	.font{
		text-align: center;
	}
	.topback{
		padding: 45px 0 15px;
	}
</style>